package com.sms.mobiles;



public abstract class  AbstractMessage
{
	protected String tmpMobile[] = null;		//�ֻ��
	protected String tmpContent = null;			//��������
	protected String tmpTypeStr = null;			//
	protected String tmpSrcID = null ;			//Դ��ַ��˿�: ���� 10652323 + tmpSrcID =10652323+ 23
	protected String Url=null;
	protected int smID;
	
	public abstract boolean isWapPush();
	
	
	
	public String[] getTmpMobile() {
		return tmpMobile;
	}

	public void setTmpMobile(String[] tmpMobile) {
		this.tmpMobile = tmpMobile;
	}

	public String getTmpContent() {
		return tmpContent;
	}

	public void setTmpContent(String tmpContent) {
		this.tmpContent = tmpContent;
	}

	public String getTmpTypeStr() {
		return tmpTypeStr;
	}

	public void setTmpTypeStr(String tmpTypeStr) {
		this.tmpTypeStr = tmpTypeStr;
	}

	public String getTmpSrcID() {
		return tmpSrcID;
	}

	public void setTmpSrcID(String tmpSrcID) {
		this.tmpSrcID = tmpSrcID;
	}

	public String getUrl() {
		return Url;
	}

	public void setUrl(String url) {
		Url = url;
	}

	public int getSmID() {
		return smID;
	}

	public void setSmID(int smID) {
		this.smID = smID;
	}

	public static AbstractMessage onCreate(boolean isWapPush)
	{
		if(isWapPush)
		{
			return new MessagePush();
		}else{
			return new Message();
		}
	}
}